#!/bin/bash

PATH=$PATH:~/Library/Android/sdk/platform-tools
dest=/sdcard/kale_sticker/resource

#get script dir
workdir=$(cd `dirname $0`;pwd)

if [ "$1" == "-push" ];then
    #push
    adb push --sync $workdir'/'$2 $dest
elif [ "$1" == "-delete" ];then
    #delete
    adb shell rm -r $dest/$2
else
    echo "usage:"
    echo "      -push filename/foldername"
    echo "      -delete filename/foldername"
fi
